package com.mls.fivedistrict.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserAuthExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserAuthExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCradNoIsNull() {
            addCriterion("crad_no is null");
            return (Criteria) this;
        }

        public Criteria andCradNoIsNotNull() {
            addCriterion("crad_no is not null");
            return (Criteria) this;
        }

        public Criteria andCradNoEqualTo(String value) {
            addCriterion("crad_no =", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoNotEqualTo(String value) {
            addCriterion("crad_no <>", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoGreaterThan(String value) {
            addCriterion("crad_no >", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoGreaterThanOrEqualTo(String value) {
            addCriterion("crad_no >=", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoLessThan(String value) {
            addCriterion("crad_no <", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoLessThanOrEqualTo(String value) {
            addCriterion("crad_no <=", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoLike(String value) {
            addCriterion("crad_no like", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoNotLike(String value) {
            addCriterion("crad_no not like", value, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoIn(List<String> values) {
            addCriterion("crad_no in", values, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoNotIn(List<String> values) {
            addCriterion("crad_no not in", values, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoBetween(String value1, String value2) {
            addCriterion("crad_no between", value1, value2, "cradNo");
            return (Criteria) this;
        }

        public Criteria andCradNoNotBetween(String value1, String value2) {
            addCriterion("crad_no not between", value1, value2, "cradNo");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("real_name is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("real_name is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("real_name =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("real_name <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("real_name >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("real_name >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("real_name <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("real_name <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("real_name like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("real_name not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("real_name in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("real_name not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("real_name between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("real_name not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andPositiveImageIsNull() {
            addCriterion("positive_image is null");
            return (Criteria) this;
        }

        public Criteria andPositiveImageIsNotNull() {
            addCriterion("positive_image is not null");
            return (Criteria) this;
        }

        public Criteria andPositiveImageEqualTo(String value) {
            addCriterion("positive_image =", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageNotEqualTo(String value) {
            addCriterion("positive_image <>", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageGreaterThan(String value) {
            addCriterion("positive_image >", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageGreaterThanOrEqualTo(String value) {
            addCriterion("positive_image >=", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageLessThan(String value) {
            addCriterion("positive_image <", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageLessThanOrEqualTo(String value) {
            addCriterion("positive_image <=", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageLike(String value) {
            addCriterion("positive_image like", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageNotLike(String value) {
            addCriterion("positive_image not like", value, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageIn(List<String> values) {
            addCriterion("positive_image in", values, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageNotIn(List<String> values) {
            addCriterion("positive_image not in", values, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageBetween(String value1, String value2) {
            addCriterion("positive_image between", value1, value2, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andPositiveImageNotBetween(String value1, String value2) {
            addCriterion("positive_image not between", value1, value2, "positiveImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageIsNull() {
            addCriterion("reverse_image is null");
            return (Criteria) this;
        }

        public Criteria andReverseImageIsNotNull() {
            addCriterion("reverse_image is not null");
            return (Criteria) this;
        }

        public Criteria andReverseImageEqualTo(String value) {
            addCriterion("reverse_image =", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageNotEqualTo(String value) {
            addCriterion("reverse_image <>", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageGreaterThan(String value) {
            addCriterion("reverse_image >", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageGreaterThanOrEqualTo(String value) {
            addCriterion("reverse_image >=", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageLessThan(String value) {
            addCriterion("reverse_image <", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageLessThanOrEqualTo(String value) {
            addCriterion("reverse_image <=", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageLike(String value) {
            addCriterion("reverse_image like", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageNotLike(String value) {
            addCriterion("reverse_image not like", value, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageIn(List<String> values) {
            addCriterion("reverse_image in", values, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageNotIn(List<String> values) {
            addCriterion("reverse_image not in", values, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageBetween(String value1, String value2) {
            addCriterion("reverse_image between", value1, value2, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andReverseImageNotBetween(String value1, String value2) {
            addCriterion("reverse_image not between", value1, value2, "reverseImage");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCalculateIdIsNull() {
            addCriterion("calculate_id is null");
            return (Criteria) this;
        }

        public Criteria andCalculateIdIsNotNull() {
            addCriterion("calculate_id is not null");
            return (Criteria) this;
        }

        public Criteria andCalculateIdEqualTo(Long value) {
            addCriterion("calculate_id =", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdNotEqualTo(Long value) {
            addCriterion("calculate_id <>", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdGreaterThan(Long value) {
            addCriterion("calculate_id >", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("calculate_id >=", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdLessThan(Long value) {
            addCriterion("calculate_id <", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdLessThanOrEqualTo(Long value) {
            addCriterion("calculate_id <=", value, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdIn(List<Long> values) {
            addCriterion("calculate_id in", values, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdNotIn(List<Long> values) {
            addCriterion("calculate_id not in", values, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdBetween(Long value1, Long value2) {
            addCriterion("calculate_id between", value1, value2, "calculateId");
            return (Criteria) this;
        }

        public Criteria andCalculateIdNotBetween(Long value1, Long value2) {
            addCriterion("calculate_id not between", value1, value2, "calculateId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIsNull() {
            addCriterion("property_id is null");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIsNotNull() {
            addCriterion("property_id is not null");
            return (Criteria) this;
        }

        public Criteria andPropertyIdEqualTo(Long value) {
            addCriterion("property_id =", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotEqualTo(Long value) {
            addCriterion("property_id <>", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdGreaterThan(Long value) {
            addCriterion("property_id >", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("property_id >=", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdLessThan(Long value) {
            addCriterion("property_id <", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdLessThanOrEqualTo(Long value) {
            addCriterion("property_id <=", value, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdIn(List<Long> values) {
            addCriterion("property_id in", values, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotIn(List<Long> values) {
            addCriterion("property_id not in", values, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdBetween(Long value1, Long value2) {
            addCriterion("property_id between", value1, value2, "propertyId");
            return (Criteria) this;
        }

        public Criteria andPropertyIdNotBetween(Long value1, Long value2) {
            addCriterion("property_id not between", value1, value2, "propertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdIsNull() {
            addCriterion("invitation_calculate_id is null");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdIsNotNull() {
            addCriterion("invitation_calculate_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdEqualTo(Long value) {
            addCriterion("invitation_calculate_id =", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdNotEqualTo(Long value) {
            addCriterion("invitation_calculate_id <>", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdGreaterThan(Long value) {
            addCriterion("invitation_calculate_id >", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invitation_calculate_id >=", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdLessThan(Long value) {
            addCriterion("invitation_calculate_id <", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdLessThanOrEqualTo(Long value) {
            addCriterion("invitation_calculate_id <=", value, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdIn(List<Long> values) {
            addCriterion("invitation_calculate_id in", values, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdNotIn(List<Long> values) {
            addCriterion("invitation_calculate_id not in", values, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdBetween(Long value1, Long value2) {
            addCriterion("invitation_calculate_id between", value1, value2, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateIdNotBetween(Long value1, Long value2) {
            addCriterion("invitation_calculate_id not between", value1, value2, "invitationCalculateId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdIsNull() {
            addCriterion("invitation_property_id is null");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdIsNotNull() {
            addCriterion("invitation_property_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdEqualTo(Long value) {
            addCriterion("invitation_property_id =", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdNotEqualTo(Long value) {
            addCriterion("invitation_property_id <>", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdGreaterThan(Long value) {
            addCriterion("invitation_property_id >", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invitation_property_id >=", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdLessThan(Long value) {
            addCriterion("invitation_property_id <", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdLessThanOrEqualTo(Long value) {
            addCriterion("invitation_property_id <=", value, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdIn(List<Long> values) {
            addCriterion("invitation_property_id in", values, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdNotIn(List<Long> values) {
            addCriterion("invitation_property_id not in", values, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdBetween(Long value1, Long value2) {
            addCriterion("invitation_property_id between", value1, value2, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationPropertyIdNotBetween(Long value1, Long value2) {
            addCriterion("invitation_property_id not between", value1, value2, "invitationPropertyId");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueIsNull() {
            addCriterion("invitation_calculate_value is null");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueIsNotNull() {
            addCriterion("invitation_calculate_value is not null");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueEqualTo(Integer value) {
            addCriterion("invitation_calculate_value =", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueNotEqualTo(Integer value) {
            addCriterion("invitation_calculate_value <>", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueGreaterThan(Integer value) {
            addCriterion("invitation_calculate_value >", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueGreaterThanOrEqualTo(Integer value) {
            addCriterion("invitation_calculate_value >=", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueLessThan(Integer value) {
            addCriterion("invitation_calculate_value <", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueLessThanOrEqualTo(Integer value) {
            addCriterion("invitation_calculate_value <=", value, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueIn(List<Integer> values) {
            addCriterion("invitation_calculate_value in", values, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueNotIn(List<Integer> values) {
            addCriterion("invitation_calculate_value not in", values, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueBetween(Integer value1, Integer value2) {
            addCriterion("invitation_calculate_value between", value1, value2, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationCalculateValueNotBetween(Integer value1, Integer value2) {
            addCriterion("invitation_calculate_value not between", value1, value2, "invitationCalculateValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueIsNull() {
            addCriterion("invitation_intrgral_value is null");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueIsNotNull() {
            addCriterion("invitation_intrgral_value is not null");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueEqualTo(BigDecimal value) {
            addCriterion("invitation_intrgral_value =", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueNotEqualTo(BigDecimal value) {
            addCriterion("invitation_intrgral_value <>", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueGreaterThan(BigDecimal value) {
            addCriterion("invitation_intrgral_value >", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("invitation_intrgral_value >=", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueLessThan(BigDecimal value) {
            addCriterion("invitation_intrgral_value <", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("invitation_intrgral_value <=", value, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueIn(List<BigDecimal> values) {
            addCriterion("invitation_intrgral_value in", values, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueNotIn(List<BigDecimal> values) {
            addCriterion("invitation_intrgral_value not in", values, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("invitation_intrgral_value between", value1, value2, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andInvitationIntrgralValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("invitation_intrgral_value not between", value1, value2, "invitationIntrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueIsNull() {
            addCriterion("intrgral_value is null");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueIsNotNull() {
            addCriterion("intrgral_value is not null");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueEqualTo(BigDecimal value) {
            addCriterion("intrgral_value =", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueNotEqualTo(BigDecimal value) {
            addCriterion("intrgral_value <>", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueGreaterThan(BigDecimal value) {
            addCriterion("intrgral_value >", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("intrgral_value >=", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueLessThan(BigDecimal value) {
            addCriterion("intrgral_value <", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("intrgral_value <=", value, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueIn(List<BigDecimal> values) {
            addCriterion("intrgral_value in", values, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueNotIn(List<BigDecimal> values) {
            addCriterion("intrgral_value not in", values, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("intrgral_value between", value1, value2, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andIntrgralValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("intrgral_value not between", value1, value2, "intrgralValue");
            return (Criteria) this;
        }

        public Criteria andAuthCountIsNull() {
            addCriterion("auth_count is null");
            return (Criteria) this;
        }

        public Criteria andAuthCountIsNotNull() {
            addCriterion("auth_count is not null");
            return (Criteria) this;
        }

        public Criteria andAuthCountEqualTo(Integer value) {
            addCriterion("auth_count =", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountNotEqualTo(Integer value) {
            addCriterion("auth_count <>", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountGreaterThan(Integer value) {
            addCriterion("auth_count >", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("auth_count >=", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountLessThan(Integer value) {
            addCriterion("auth_count <", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountLessThanOrEqualTo(Integer value) {
            addCriterion("auth_count <=", value, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountIn(List<Integer> values) {
            addCriterion("auth_count in", values, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountNotIn(List<Integer> values) {
            addCriterion("auth_count not in", values, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountBetween(Integer value1, Integer value2) {
            addCriterion("auth_count between", value1, value2, "authCount");
            return (Criteria) this;
        }

        public Criteria andAuthCountNotBetween(Integer value1, Integer value2) {
            addCriterion("auth_count not between", value1, value2, "authCount");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("reason not between", value1, value2, "reason");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}